package org.liurq.webservice.server;

import javax.jws.WebMethod;
import javax.jws.WebService;
import java.util.List;

@WebService
public interface PersonService {
    @WebMethod
    public Person getPersonName(String name);

    @WebMethod Person getPersonAge(int age);

    @WebMethod Person getPersonInfo(String name,int age);

    @WebMethod
    List<Person> getPersonsInfo(String name, int age);
}
